package com.packenius.library.xspdf;

/**
 * Data object for holding the size of an element. This class is neccessary
 * because java.awt.Dimension only holds <i>int</i> values.
 * 
 * @author Christian Packenius, 2013.
 */
public class XSDimension {
  /**
   * Width (of an element).
   */
  public final double width;

  /**
   * Height (of an element).
   */
  public final double height;

  /**
   * Constructor.
   * 
   * @param width
   * @param height
   */
  public XSDimension(double width, double height) {
    this.width = width;
    this.height = height;
  }
}
